package com.kingyun.gpsinspection.purificationservice.common.enums;

/**
 * 工单状态枚举类
 * Created by jiangjx on 2017/2/24.
 */
public enum WorkOrderStatusEnum {
    WORK_ORDER_STATUS_ENUM_0(new Short("0"), "待处理"),
    WORK_ORDER_STATUS_ENUM_1(new Short("1"), "作业条件准备"),
    WORK_ORDER_STATUS_ENUM_2(new Short("2"), "作业条件确认"),
    WORK_ORDER_STATUS_ENUM_3(new Short("3"), "关键操作申请"),
    WORK_ORDER_STATUS_ENUM_4(new Short("4"), "申请通过"),
    WORK_ORDER_STATUS_ENUM_5(new Short("5"), "申请不通过"),
    WORK_ORDER_STATUS_ENUM_6(new Short("6"), "已完成"),
    WORK_ORDER_STATUS_ENUM_7(new Short("7"), "已关闭"),
    WORK_ORDER_STATUS_ENUM_8(new Short("-1"), "预处理"),
    ;


    WorkOrderStatusEnum(Short code, String description) {
        this.code = code;
        this.decription = description;
    }

    private Short code;
    private String decription;

    public Short code() {
        return code;
    }

    public String description() {
        return decription;
    }

    public Short getCode() {
        return code;
    }

    public void setCode(Short code) {
        this.code = code;
    }

    public String getDecription() {
        return decription;
    }

    public void setDecription(String decription) {
        this.decription = decription;
    }
}
